/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.business.service.dto;

import lombok.Data;
import me.zhengjie.annotation.Query;
import me.zhengjie.business.domain.Hljg;
import me.zhengjie.business.domain.Sbgs;

import java.util.Date;
import java.util.List;

/**
* @website https://el-admin.vip
* @author xiahongbo
* @date 2022-04-15
**/
@Data
public class ZhsqQueryCriteria{

    @Query(blurry = "bisZhsqSnryXm,bisZhsqSnrySfz,bisZhsqHldz,bisZhsqLxdh,bisZhsqJhrdh")
    private String blurry;

    /** 用户ID */
    @Query
    private Hljg hljg;

    @Query(propName = "sbgs",joinName = "hljg")
    private Sbgs sbgs;

    /** 申请状态 */
    @Query(type = Query.Type.IN)
    private List<String> bisZhsqZt;

    /** 申请状态 */
    @Query(type = Query.Type.IN)
    private List<String> bisZhsqSndj;

    /** 医保所属区县 */
    @Query(type = Query.Type.LEFT_LIKE)
    private String bisZhsqSnryYbssqx;

    /** 用户ID */
    @Query
    private Long bisUserId;

    /** 用户ID */
    @Query
    private String bisSbgsId;
    /** 用户ID */
    @Query
    private String bisPggsId;
    /** 用户ID */
    @Query
    private String bisHljgId;

    /** 护理机构医保医院编码 */
    @Query
    private String bisZhsqHljgBm;

    /** 照护类别（居家和机构） */
    @Query
    private String bisZhsqZhlb;

    @Query
    private String bisZhsqHldzSsqx;

    @Query
    private String bisZhsqCblx;

    @Query(type = Query.Type.GREATER_THAN, propName = "bisZhsqDyjsrq")
    private Date bisZhsqDyjsrq1;
    @Query(type = Query.Type.LESS_THAN, propName = "bisZhsqDyjsrq")
    private Date bisZhsqDyjsrq2;

}